home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / vbasic / dfvb18.zip / DFRAMEVB.INC < prev    next >
Text File  |  1993-06-28  |  15KB  |  249 lines

  1. DECLARE SUB Back.Space (Row%, Col%, Num%)
  2. DECLARE SUB BOX.IT (TROW%, LCOL%, BROW%, RCOL%, BOXTYPE%, BOXFG%, BOXBG%, FILLFG%, FILLBG%, FILLCHAR%, SHADOW%, TITLE$, HFG%, HBG%)
  3. DECLARE SUB Cipher (St$, Password$)
  4. DECLARE SUB CipherP (St$, Password$)
  5. DECLARE SUB ClearBuffer (Buff%)
  6. DECLARE SUB ClrKbd ()
  7. DECLARE SUB CLREOL (XPOS%, YPOS%, BGC%)
  8. DECLARE SUB CLRMOL (XPOS%, YPOS%, LENGTH%, BGC%)
  9. DECLARE SUB CLRSOL (XPOS%, YPOS%, BGC%)
  10. DECLARE SUB CLRSCRN (CLR%)
  11. DECLARE SUB DE.LAY (BYVAL Seconds AS INTEGER)
  12. DECLARE SUB DETECT.ANSI ()
  13. DECLARE SUB DIS.PLAY (MSG$, FGC%, BGC%, BLINK%, BELL%, XPOS%, YPOS%, NL%, CENTER%, Caps%, Codes%)
  14. DECLARE SUB ENTER ()
  15. DECLARE SUB ERRORS (ERRNUM%, ERRLINE%)
  16. DECLARE SUB EXIT.DOOR (YN$)
  17. DECLARE SUB INITIALIZE ()
  18. DECLARE SUB IN.PUT (RLEN%, WAITTIME&, IFG%, IBG%, AutoCR%, Text$, TFG%, TBG%, X%, Y%, ShowIt%)
  19. DECLARE SUB KEYTIMER (KEYSTART&)
  20. DECLARE SUB LINES (SROW%, SCOL%, LENGTH%, Direction$, ENDS%, MID%, EFG%, EBG%, MFG%, MBG%)
  21. DECLARE SUB MAKE.BLT (HI.SCORE&)
  22. DECLARE SUB MAKE.BLT.CURRENT (HI.SCORE&)
  23. DECLARE SUB MORE ()
  24. DECLARE SUB MUSIC (TUNE$)
  25. DECLARE SUB OUT.PUT (LF%)
  26. DECLARE SUB SEND (MSG$, YN%, CLR%)
  27. DECLARE SUB SENDANSI (MSG$, YN%, Inter%)
  28. DECLARE SUB SHOW.BLT (YN$)
  29.  
  30. DECLARE FUNCTION CheckShare2% ()
  31. DECLARE FUNCTION DriveSpace& (Drive$)
  32. DECLARE FUNCTION NameCase2$ (St$)
  33. DECLARE FUNCTION Sec2Time$ (Seconds&)
  34. DECLARE FUNCTION Time2Sec& (TimeSt$)
  35.  
  36. DECLARE SUB BigPrint (St$, PixelCh$, BYVAL Row%, BYVAL Column%, BYVAL Attr%)
  37. DECLARE SUB CalcAttr (BYVAL Fore%, BYVAL Back%, Attr%)
  38. DECLARE SUB CalcDate (StartDate$, Days&, Direction%, NewDate$, ErrCode%)
  39. DECLARE SUB CDROM (FirstDrive$, Drives%)
  40. DECLARE SUB CheckDate (MonthNr%, DayNr%, YearNr%, ErrCode%)
  41. DECLARE SUB CheckShare (ShareActive%)
  42. DECLARE SUB DateA2R (MonthNr%, DayNr%, YearNr%, RelDate&)
  43. DECLARE SUB DateN2S (MonthNr%, DayNr%, YearNr%, DateSt$)
  44. DECLARE SUB DateR2A (MonthNr%, DayNr%, YearNr%, RelDate&)
  45. DECLARE SUB DateS2N (MonthNr%, DayNr%, YearNr%, DateSt$)
  46. DECLARE SUB DelFile (FileName$, ErrCode%)
  47. DECLARE SUB DrvType (Drive$, Removeable%, Remote%, ErrCode%)
  48. DECLARE SUB Elapsed (TimeStart$, TimeStop$, ElapsedT$)
  49. DECLARE SUB EMSBuffer (Bytes%)
  50. DECLARE SUB EMSClose (BYVAL ArrayHandle%)
  51. DECLARE SUB EMSGet (BYVAL ArrayHandle%, ElementNr&, Value AS ANY)
  52. DECLARE SUB EMSOpen (Elements&, ElementType%, ArrayHandle%, ErrCode%)
  53. DECLARE SUB EMSPut (BYVAL ArrayHandle%, ElementNr&, Value AS ANY)
  54. DECLARE SUB EMSRest (ArrayState$)
  55. DECLARE SUB EMSSave (ArrayState$)
  56. DECLARE SUB EnhKbd (BYVAL Enable%)
  57. DECLARE SUB EuropeDate (DateSt$, FormatSt$, Result$, ErrCode%)
  58. DECLARE SUB FormatDate (DateSt$, FormatSt$, Result$, ErrCode%)
  59. DECLARE SUB Get4DosV (MajorV%, MinorV%)
  60. DECLARE SUB GetDOSv (MajorVersion%, MinorVersion%)
  61. DECLARE SUB GetDView (MajorV%, MinorV%)
  62. DECLARE SUB GetKbd (Insrt%, Caps%, Num%, ScrollLock%)
  63. DECLARE SUB GetKbd1 (LShift%, RShift%, Cntrl%, Alt%)
  64. DECLARE SUB GetLIMHandles (Handles%)
  65. DECLARE SUB GetLIMm (TotalPages%, FreePages%)
  66. DECLARE SUB GetLIMv (MajorVersionNum%, MinorVersionNum%)
  67. DECLARE SUB GetTView (Installed%)
  68. DECLARE SUB GetTVScreen (DSeg%, DOfs%)
  69. DECLARE SUB KbdType (EnhancedKbd%)
  70. DECLARE SUB LClose (BYVAL EMSHandle%)
  71. DECLARE SUB LGet (BYVAL EMSHandle%, BYVAL DSeg%, BYVAL DOfs%, BYVAL WORDS%)
  72. DECLARE SUB LOpen (BYVAL WORDS%, EMSHandle%, ErrCode%)
  73. DECLARE SUB LPut (BYVAL EMSHandle%, BYVAL DSeg%, BYVAL DOfs%, BYVAL WORDS%)
  74. DECLARE SUB LRotate (St$)
  75. DECLARE SUB Namecase (St$)
  76. DECLARE SUB Processor (CPU%)
  77. DECLARE SUB Retries (BYVAL Tries%, BYVAL RetryPauseLen%)
  78. DECLARE SUB Reverse (St$)
  79. DECLARE SUB RInstr (MainSt$, SubSt$, Posn%)
  80. DECLARE SUB SetError (BYVAL ErrorLevel%)
  81. DECLARE SUB SetKbd (BYVAL Insrt%, BYVAL Caps%, BYVAL Num%, BYVAL ScrollLock%)
  82. DECLARE SUB TInstr (St$, BYVAL ChrType%, Place%)
  83. DECLARE SUB UnCalcAttr (FG%, BG%, BYVAL Attr%)
  84. DECLARE SUB UpdTVScreen (DSeg%, DOfs%)
  85. DECLARE SUB WinCheck (MajorV%, MinorV%)
  86.  
  87. 'NOTE: The following variables are not universally available.
  88. '      Check DFRAMEX.DOC for variables available to each BBS system's file.
  89.  
  90. COMMON SHARED Active.Menu%              '0=Main,1=Msg,2=File,3=Sysop (WC 3.0+)
  91. COMMON SHARED Alias$                    'Caller's alias/handle
  92. COMMON SHARED AllowedBytes&             'Allowed BYTES from the PCB PWRD file.
  93. COMMON SHARED AlreadyConnected$         '"TRUE" or "FALSE"
  94. COMMON SHARED AnsiOn$                   '"TRUE" or "FALSE"
  95. COMMON SHARED AnsiSupport$              'Caller supports ANSI but in NG mode
  96. COMMON SHARED Auto.Recycle%             '0 = Return control to programmer on
  97.                                         'carrier loss. 1 = Automatic recyle
  98.                                         'and return to BBS (Default).
  99. COMMON SHARED Banked.Time%              'WildCat! v3.0+
  100. COMMON SHARED BaudConn$                 'Connect rate of caller or "LOCAL"
  101. COMMON SHARED BaudOpen$                 'Port opening BPS
  102. COMMON SHARED BaudRate$                 'Baud and parity for DORINFO
  103. COMMON SHARED BBSColor%                 'BBS default color code (1-15)
  104. COMMON SHARED BBSDir$                   'Spitfire's home directory
  105. COMMON SHARED BBSSys$                   'Name of the BBS
  106. COMMON SHARED BBSName$                  'DORINFO
  107. COMMON SHARED BirthDate$                'Caller's date of birth
  108. COMMON SHARED BltPath$                  'Path of the high score bulletin.
  109. COMMON SHARED CallAlarm%                'Caller alarm status.     -1=ON, 0=OFF
  110. COMMON SHARED CallersLoc$               'Location of CALLERSx log
  111. COMMON SHARED ChatStatus$               'Chat mode status. "U" or "A"
  112. COMMON SHARED Check4RIP%                '0=No check for RIPscrip, non-zero=yes
  113. COMMON SHARED City$                     'Caller's city and state
  114. COMMON SHARED CNAMESLoc$                'Location of CNAMES
  115. COMMON SHARED Command.Line$             'Y or N, WildCat! v3.0+
  116. COMMON SHARED Comport%                  'COM port number
  117. COMMON SHARED ConfReg$                  'Conference registration
  118. COMMON SHARED Console$                  '"LOCAL" or "REMOTE"
  119. COMMON SHARED Daily.Bytes.Alwd&         'Daily download max. K limit
  120. COMMON SHARED DailyDnldBytes&           'Bytes downloaded so far today.
  121. COMMON SHARED DataBits$                 '7 OR 8
  122. COMMON SHARED DeleteFlag%               '1 = delete this record, 0 = keep
  123. COMMON SHARED Display%                  'Local display status.    -1=ON, 0=OFF
  124. COMMON SHARED DLPerDay&                 'Number of downloads allowed per day
  125. COMMON SHARED DLToday&                  'Number of downloads made today
  126. COMMON SHARED Door.DL&                  'WildCat 3.0+ # files DL'ed in door
  127. COMMON SHARED Door.KB&                  'WildCat 3.0+ Total K DL'ed in door
  128. COMMON SHARED Door.Logoff$              'WildCat 3.0+ Y or N if user logged
  129.                                         'off from within the door
  130. COMMON SHARED DoorNumber$               '
  131. COMMON SHARED Doors.Opened%             'Number of Doors he has opened
  132. COMMON SHARED DorInfo13th$              '13th line for RBBS DORINFO
  133. COMMON SHARED Downloads&                'Number of downloads made
  134. COMMON SHARED ECC%                      'Error corrected connect.  1=YES, 0=NO
  135. COMMON SHARED EnterDoor$                'Time caller entered the door
  136. COMMON SHARED Event$                    'Event time (hh:mm)
  137. COMMON SHARED ExeName$                  'Name of .EXE (Programmer supplied)
  138. COMMON SHARED ExitFrom$                 'Conference exited BBS from
  139. COMMON SHARED Expert$                   'Expert mode - "Y" or "N"
  140. COMMON SHARED Expire$                   'Caller's expiration date
  141. COMMON SHARED ExpiredLevel&             'Expired Security level
  142. COMMON SHARED ExtraTime&                'Number of seconds gained since logon
  143. COMMON SHARED First$                    'Caller's first name
  144. COMMON SHARED Fossil%                   '0 = No Fossil driver, 1 = yes
  145. COMMON SHARED FrontEnd$                 '"TRUE" or "FALSE" if booted from a
  146.                                         'front end program.
  147. COMMON SHARED Graphics%                 'Graphics mode status.    -1=ON, 0=OFF
  148. COMMON SHARED Hi.Ascii%                 '1 = Allow IN.PUT to accept ASCII
  149.                                         'values 128 - 255. Default = 0
  150. COMMON SHARED HPhone$                   'Caller's home phone number
  151. COMMON SHARED IRQ%                      'For use with non-standard IRQ's
  152.                                         '(other than IRQ3 or IRQ4)
  153. COMMON SHARED Language$                 'PCBoard language extension
  154. COMMON SHARED LastConf%                 'Conference number last in.
  155. COMMON SHARED LastFArea$                'Last file area
  156. COMMON SHARED LastMConf$                'Last message conference
  157. COMMON SHARED LastMsg$                  'Last message read
  158. COMMON SHARED LastOn$                   'Date caller last logged on (MM-DD-YY)
  159. COMMON SHARED LastOnDate$               'Date and time of last call
  160. COMMON SHARED LastScan$                 'Date of last directory/new files scan
  161. COMMON SHARED LastTimeOn$               'Last time caller was on
  162. COMMON SHARED Level&                    'Caller's security level
  163. COMMON SHARED LocalUsr%                 '-1 = LOCAL mode, 0 = Online
  164. COMMON SHARED LogonHrs$                 'Time caller logged on in HH:MM format
  165. COMMON SHARED LogonMins%                'Time caller logged on in minutes
  166. COMMON SHARED LogonSecs&                'Number of seconds since midnight
  167.                                         'when caller logged on to the BBS.
  168. COMMON SHARED LogonTimeDate$            'Date and time of this call
  169. COMMON SHARED MaxBaud$                  'Maximum baud of the system
  170. COMMON SHARED Max.Files%                'Maximum daily files available
  171. COMMON SHARED MinsCredit%               'Time credits in minutes
  172. COMMON SHARED MNP$                      '"MNP/ARQ Connection" or
  173.                                         '"Normal Connection"
  174. COMMON SHARED Mode%                     '0 = Non-color, -1 = color is on
  175. COMMON SHARED Msgs.Left%                'Total messages left
  176. COMMON SHARED Msgs.Read%                'Total messages read
  177. COMMON SHARED Name$                     'Caller's full name
  178. COMMON SHARED Network%                  '1 = BBS is networked, 0 = no network
  179. COMMON SHARED Network$                  'DORINFO network type
  180. COMMON SHARED NoCarrier%                '0 = Carrier present, 1 = No carrier
  181. COMMON SHARED NodeNum%                  'Node number
  182. COMMON SHARED NoDTELock$                '"TRUE" or "FALSE" if configured for
  183.                                         'software data flow control.
  184. COMMON SHARED No.Status%                '0 = Show Status line, 1 = Don't
  185. COMMON SHARED Owner$                    'DoorFrame registered owners name.
  186. COMMON SHARED PageBell%                 'Page bell status.        -1=ON, 0=OFF
  187. COMMON SHARED PageLen%                  'Caller's page length
  188. COMMON SHARED Param$                    'Configuration filename
  189. COMMON SHARED Parity%                   'Parity (word length?) (7 or 8)
  190. COMMON SHARED Password$                 'Password of caller
  191. COMMON SHARED PathGen$                  'Path to the GEN directory
  192.                                         'Path to Allfiles.dat DIR for WC 3.0+
  193. COMMON SHARED PathMain$                 'Path to the MAIN directory
  194.                                         'Path to BBS dir. for WC 3.0+
  195. COMMON SHARED PCBDat$                   'Location of PCBOARD.DAT
  196. COMMON SHARED PCB.Version%              'PCBoard version number (i.e. 1450)
  197. COMMON SHARED Printor%                  'Printer status.          -1=ON, 0=OFF
  198. COMMON SHARED ProgName$                 'Name of DOOR (Programmer supplied)
  199. COMMON SHARED Protocol$                 'Caller's default protocol (Z, X, etc)
  200. COMMON SHARED Response$                 'Returned after a CALL to IN.PUT
  201. COMMON SHARED Rip%                      '0=no RIPscrip detected, 1=yes
  202. COMMON SHARED Rip$                      'Contains RIPscrip ver. # (if active)
  203. COMMON SHARED RTS$                      ' Y = RTS/CTS, N = No RTS/CTS (TriBBS)
  204. COMMON SHARED Sec.Level.Name$           'WildCat! v3.0+
  205. COMMON SHARED Seconds&                  'Number of seconds since midnight
  206.                                         'when caller entered the door.
  207. COMMON SHARED Serial$
  208. COMMON SHARED SysLoc$
  209. COMMON SHARED Sysop%                    '1 = SYSOP is using DOOR, 0 otherwise
  210. COMMON SHARED SysOpFirst$               'Sysop's first name
  211. COMMON SHARED SysOpFlag$                '" ", "N"=Sysop Next, "X"=Exit to DOS
  212. COMMON SHARED SysopKeys%                'Sysop keys 0=arrows, 1=alternate set
  213. COMMON SHARED SysOpLast$                'Sysop's last name
  214. COMMON SHARED SysOpName$                'Sysop's first and last names
  215. COMMON SHARED SysOpNext$                '"TRUE" or "FALSE"
  216. COMMON SHARED System.File%              '1 = PCBOARD.SYS     2 = USERS.SYS
  217.                                         '3 = DOOR.SYS        4 = CALLINFO.BBS
  218.                                         '5 = Not Used        6 = DORINFOx.DEF
  219.                                         '7 = SFDOORS.DAT     8 = USERINFO.DAT
  220.                                         '9 = GTUSER.BBS     10 = TRIBBS.SYS
  221. COMMON SHARED TimeAdjust%               'Use to adjust the callers time
  222.                                         'remaining online (in minutes).
  223. COMMON SHARED TimeAlwd%                 'Minutes caller is allowed
  224. COMMON SHARED TimeLastCall$             'Time of last call (hh:mm)
  225. COMMON SHARED TimeLeft%                 'Time caller has left in minutes
  226. COMMON SHARED TimeNow%                  'Current time in minutes
  227. COMMON SHARED TimeOff$                  'Time caller exited the door
  228. COMMON SHARED TimeOut%                  'Keyboard timeout in secs. default=300
  229. COMMON SHARED TimesOn%                  'Number of times on system
  230. COMMON SHARED TimeUsed%                 'Time used so far today in minutes
  231. COMMON SHARED Total.Bytes.Alwd&         'Max. bytes allowed
  232. COMMON SHARED Total.Bytes.Today&        'Daily download K total
  233. COMMON SHARED Total.KB.Dl&              'Total K bytes downloaded
  234. COMMON SHARED Total.KB.Ul&              'Total K bytes uploaded
  235. COMMON SHARED TotDnldBytes&             'Total number of BYTES downloaded
  236. COMMON SHARED TotUpldBytes&             'Total number of BYTES uploaded
  237. COMMON SHARED Uploads&                  'Number of uploads made
  238. COMMON SHARED UserComment$              'User maintained comment
  239. COMMON SHARED UserNum%                  'Record number of caller
  240. COMMON SHARED UserNetLoc$               'Location of PCBoard USERNET.DAT
  241. COMMON SHARED UsersLoc$                 'Location of PCBOARD USERS file
  242. COMMON SHARED Version$                  'DOOR version # (Programmer supplied)
  243. COMMON SHARED WPhone$                   'Caller's work phone number
  244.  
  245. CONST BLACK = 0, BLUE = 1, GREEN = 2, CYAN = 3, RED = 4, MAGENTA = 5
  246. CONST YELLOW = 6, WHITE = 7, GRAY = 8, LBLUE = 9, LGREEN = 10, LCYAN = 11
  247. CONST LRED = 12, LMAGENTA = 13, LYELLOW = 14, LWHITE = 15
  248.  
  249.